#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main()
{
	float a = 0.0f;
	float b = 0.0f;
	float c = 0.0f;
	while (scanf("%f %f %f", &a, &b, &c) != EOF)
	{
		if (a == 0.0)
		{
			printf("Not quadratic equation");
		}
		else
		{
			float det = b * b - 4 * a*c;
			double k = sqrt(det);
			if (det == 0)
			{
				printf("x1=x2=%f", -b / (2 * a));
			}
			else if (det > 0)
			{
				double x1 = (-b + k) / (2 * a), x2 = (-b - k) / (2 * a);
				printf("x1=%f,x2=%f", x1, x2);
			}
		}
	}
	return 0;
}